package com.lxt.pojo;

import java.io.Serializable;

/**
 * @author kevin.lv
 * @date 2023/8/29 17:03
 */
public class QueryRequest implements Serializable {
    /**
     * UUID
     */
    private static final long serialVersionUID = 4905289866743741635L;

    /**
     * 页数
     */
    private int pageNum;

    /**
     * 每页条数
     */
    private int pageSize;

    /**
     * 排序字段
     */
    private String sort;

    public QueryRequest() {
        this.pageNum = 1;
        this.pageSize = 10;
    }


    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }
}
